#ifndef SCORE_H
#define SCORE_H

#include <cstdlib>

#include <QPixmap>
#include <QWidget>

class QPaintEvent;
class QResizeEvent;

class Button;

class Score : public QWidget
{
    Q_OBJECT

signals:
    void home();

public:
    explicit Score(QWidget* pkParent = NULL);
    ~Score();

protected:
    void paintEvent(QPaintEvent* pkEvent);
    void resizeEvent(QResizeEvent *pkEvent);

private:
    //------------------------------------------------
    //  Attributes.
    //------------------------------------------------
    // Ratio.
    qreal   m_ratio;

    // Graphics
    QPixmap m_kBackground;

    // Start button.
    Button* m_pkOkButton;
};

#endif // SCORE_H
